package com.atguigu.gmall.product.client;

import com.atguigu.gmall.model.product.BaseCategoryView;
import com.atguigu.gmall.model.product.BaseTrademark;
import com.atguigu.gmall.model.product.SkuInfo;
import com.atguigu.gmall.model.product.SpuSaleAttr;
import org.springframework.stereotype.Component;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * @author: 李旭
 * @create: 2021-07-09 14:12
 **/
@Component
public class ProductDegradedClientImpl implements ProductFeignClient{
    @Override
    public SkuInfo getSkuInfo(Long skuId) {
        //降级处理的代码
        return null;
    }

    @Override
    public BaseCategoryView getBaseCagegoryView(Long category3Id) {
        return null;
    }

    @Override
    public BigDecimal getPrice(Long skuId) {
        return null;
    }

    @Override
    public List<SpuSaleAttr> getSpuSaleAttrAndValue(Long spuId, Long skuId) {
        return null;
    }

    @Override
    public Map getSaleAttrValuesBySpu(Long spuId) {
        return null;
    }

    @Override
    public List<BaseCategoryView> getBaseCagegoryViewList() {
        return null;
    }

    @Override
    public BaseTrademark getBaseTrademark(Long tmId) {
        return null;
    }

    @Override
    public List<Map> getSkuAttrValue(Long skuId) {
        return null;
    }
}
